package org.mch.start;

import java.util.HashMap;
import java.util.Map;

import org.mch.biz.ui.FuncPanel;

public class MCHCache {

	private static final Map<String, FuncPanel> funcPanel = new HashMap<String, FuncPanel>();

	public static FuncPanel getFuncPanel(String className) {
		return (FuncPanel) funcPanel.get(className);
	}

	public static void setFuncPanel(FuncPanel panel) {
		funcPanel.put(panel.getClass().getName(), panel);
	}

}
